package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "学习范围", description = "用户学习计划选中的学习范围")
public class Learningrange {

    /*编号*/
    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    /*用户编号*/
    @ApiModelProperty(value = "用户id与user表中的id相互对应", example = "1")
    private Integer uid;
    /*书籍编号*/
    @ApiModelProperty(value = "书籍id与books表中的id相互对应", example = "1")
    private Integer bid;
    /*用户昵称*/
    @ApiModelProperty(value = "用户名", example = "刘思琪")
    private String username;
    /*书籍名*/
    @ApiModelProperty(value = "选中的书籍名字", example = "千年一笔谈")
    private String bookname;
    @ApiModelProperty(value = "书籍图片", example = "http://47.96.160.116:9090/files/1721112887746-乡试.png")
    private String img;

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    @ApiModelProperty(value = "书籍作者", example = "钱斌")
    private String author;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }
}
